WooMS\OrderUpdateFromMoySklad C

Total Complexity 101
Dependencies 6
Dependents 0
Total lines 837
Lines of code 507
Logical lines of code 284
Comment lines 117
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
display_wooms_order_statuses_from_moysklad()
A
42 13 57
update_order_items()
A
42 10 49
check_webhooks_and_try_fix()
A
45 9 46
get_data_order_from_moysklad()
A
41 8 60
get_status_order_webhook()
A
47 8 37
update_order_status()
S
50 6 27
update_order_from_moysklad()
S
48 5 35
batch_handler()
S
49 4 34
get_shipment_product_href()
S
57 4 16
get_wooms_id_from_line_item()
S
60 4 14
get_order_item_id_by_wooms_id()
S
61 4 13
add_schedule_hook()
S
61 4 13
get_state()
S
61 4 13
set_state()
S
62 3 12
add_settings()
S
56 2 20
init()
S
56 2 17
skip_order_update_from_site()
S
65 3 10
lock_callback_update()
S
70 2 6
is_enable()
S
71 2 6
is_wait()
S
71 2 6
display_wooms_enable_webhooks()
S
65 1 9
add_route()
S
68 1 7